Skip to content

Phase out curve25519 for x25519 and ed25519 #4545

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 6 commits into
base: develop
Choose a base branch
from
Draft

Conversation

simonwicky
Copy link
Contributor

@simonwicky simonwicky commented Apr 17, 2024

Description

Replace curve25519-dalek by ed25519-dalek and x25519-dalek.
Also upgrade those crate, ed25519 to 2.1 and rand to 0.8

WARNING : This PR will break compatibility. Updated used sphinx library uses x25519 scalar clamping vs scalar reduction that is currently done


This change is Reviewable

Copy link

vercel bot commented Apr 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
nym-explorer ⬜️ Ignored (Inspect) Visit Preview May 21, 2024 7:54am
nym-next-explorer ⬜️ Ignored (Inspect) Visit Preview May 21, 2024 7:54am

@simonwicky
Copy link
Contributor Author

This PR needs nymtech/sphinx#94 to be merged in so dependency to sphinx can be updated and properly pull the version from crates.io

@simonwicky
Copy link
Contributor Author

Sphinx's crate new version was released, so this PR is now ready

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants